x86/hvm: Move hvm_hypervisor_cpuid_leaf() handling into cpuid_hypervisor_leaves()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 2 Oct 2016 16:28:11 +0000 (17:28 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Dec 2016 18:32:25 +0000 (18:32 +0000)
commit32d2983852899c3b7d5e0e83ed8b22da8b9638a2
tree3222fbe6d09ffd7fa46a808d15244e052a3a7863
parent0cb1fcb0855118a04612b957c3685c4f8b31219a
x86/hvm: Move hvm_hypervisor_cpuid_leaf() handling into cpuid_hypervisor_leaves()

This reduces the net complexity of CPUID handling by having all adjustments in
the same place.  Remove the now-unused hvm_funcs.hypervisor_cpuid_leaf()
infrastructure.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/traps.c
xen/include/asm-x86/hvm/hvm.h